<template>
	<view class="segment">
		<scroll-view class="segment-scroll" scroll-x >
			<view class="segment-scroll-box">
				<view v-for="(item,index) in 10" :key="index" class="segment-scroll-item"> ---- {{item}}</view>
			</view>
		</scroll-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.segment{
	box-sizing: border-box;
	.segment-scroll-box{
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		height: 90rpx;
		box-sizing: border-box;
		.segment-scroll-item{
			flex-shrink: 0;
			padding: 0 20rpx;
		}
	}
}
</style>
